import request from '@/utils/request'

// 查询item列表分析
export function itemSaleData(query) {
  return request({
    url: '/product/BiItemSaleDwd/itemSaleData',
    method: 'get',
    params: query
  })
}
// 查询item曲线分析
export function selectItemStatistics(query) {
  return request({
    url: '/product/BiItemSaleDwd/selectItemStatistics',
    method: 'get',
    params: query
  })
}
//模糊匹配item查询列表
export function queryContentByKey(query) {
  return request({
    url: '/product/BiItemSaleDwd/queryContentByKey',
    method: 'get',
    params: query
  })
}
// 查询TSKc列表
export function skcByItemSaleList(query) {
  return request({
    url: '/product/BiItemSaleDwd/skcByItemSaleList',
    method: 'get',
    params: query
  })
}
// 查询TSKu列表
export function skuBySkcSaleList(query) {
  return request({
    url: '/product/BiItemSaleDwd/skuBySkcSaleList',
    method: 'get',
    params: query
  })
}
// 多对一
export function comparisonStatistics(query) {
  return request({
    url: '/product/BiAnalysis/comparisonStatistics',
    method: 'post',
    data: query
  })
}
